package net.peelmeagrape.hibernate.xmlgen;

import static java.lang.annotation.ElementType.METHOD;
import java.lang.annotation.Retention;
import static java.lang.annotation.RetentionPolicy.RUNTIME;
import java.lang.annotation.Target;

//todo: replace with ordering on xmlelement?
@Target({METHOD}) @Retention(RUNTIME)
public @interface ChildElement
{
    /**
     * element position
     */
    int value() default 0;
}
